package com.aiwiown.face.domain.lite;

import com.aiwiown.face.ApiObject;
import com.aiwiown.face.internal.mapping.ApiField;

/**
 * <pre>
 *
 * </pre>
 * LivenessResultDetails
 * Date: 2020/4/26 0026
 * Time: 16:23
 *
 * @author tang.xiaosheng@qq.com
 */
public class LivenessResultDetails extends ApiObject {
    private static final long serialVersionUID = 3061425058374504001L;

    /**
     * <活体视频上传次数>
     */
    @ApiField("UPLOAD_TIMES")
    private String uploadTimes;

    /**
     * <视频中没有检测到人脸的次数>；
     */
    @ApiField("FACE_NOT_FOUND")
    private String faceNotFound;

    /**
     * <视频中人脸质量太差的次数>；
     */
    @ApiField("LOW_FACE_QUALITY")
    private String lowFaceQuality;

    /**
     * <视频时长不对的次数>；
     */
    @ApiField("INVALID_VIDEO_DURATION")
    private String invalidVideoDuration;

    /**
     * <语音识别结果有误的次数>；
     */
    @ApiField("SR_ERROR")
    private String srError;

    /**
     * <视频唇语识别错误的次数>；
     */
    @ApiField("NOT_SYNCHRONIZED")
    private String notSynchronized;

    /**
     * <视频无声音的次数>；
     */
    @ApiField("NO_AUDIO")
    private String noAudio;

    /**
     * <视频格式错误的次数>；
     */
    @ApiField("VIDEO_FORMAT_UNSUPPORTED")
    private String videoFormatUnsupported;


    // TODO: 2020/4/26 0026  当procedure_type为"video"时：以上字段才会返回
    //                       当procedure_type取值为"selfie"时：faceFont,faceSide才会返回

    /**
     * 正脸照次新信息
     */
    @ApiField("face_front")
    private FaceFrontSide faceFont;
    /**
     * 侧脸照次数信息
     */
    @ApiField("face_side")
    private FaceFrontSide faceSide;


    public String getUploadTimes() {
        return uploadTimes;
    }

    public void setUploadTimes(String uploadTimes) {
        this.uploadTimes = uploadTimes;
    }

    public String getFaceNotFound() {
        return faceNotFound;
    }

    public void setFaceNotFound(String faceNotFound) {
        this.faceNotFound = faceNotFound;
    }

    public String getLowFaceQuality() {
        return lowFaceQuality;
    }

    public void setLowFaceQuality(String lowFaceQuality) {
        this.lowFaceQuality = lowFaceQuality;
    }

    public String getInvalidVideoDuration() {
        return invalidVideoDuration;
    }

    public void setInvalidVideoDuration(String invalidVideoDuration) {
        this.invalidVideoDuration = invalidVideoDuration;
    }

    public String getSrError() {
        return srError;
    }

    public void setSrError(String srError) {
        this.srError = srError;
    }

    public String getNotSynchronized() {
        return notSynchronized;
    }

    public void setNotSynchronized(String notSynchronized) {
        this.notSynchronized = notSynchronized;
    }

    public String getNoAudio() {
        return noAudio;
    }

    public void setNoAudio(String noAudio) {
        this.noAudio = noAudio;
    }

    public String getVideoFormatUnsupported() {
        return videoFormatUnsupported;
    }

    public void setVideoFormatUnsupported(String videoFormatUnsupported) {
        this.videoFormatUnsupported = videoFormatUnsupported;
    }

    public FaceFrontSide getFaceFont() {
        return faceFont;
    }

    public void setFaceFont(FaceFrontSide faceFont) {
        this.faceFont = faceFont;
    }

    public FaceFrontSide getFaceSide() {
        return faceSide;
    }

    public void setFaceSide(FaceFrontSide faceSide) {
        this.faceSide = faceSide;
    }
}
